package com.example.vehiclefabric.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @name: Properties
 * @description: 定义网关配置所需的证书和公钥等信息。
 * @author: Lulu Zhao
 **/
@Configuration
@ConfigurationProperties(prefix = "fabric")
@Data
public class Properties {

    String mspId;

    String networkConnectionConfigPath;

    String certificatePath;

    String privateKeyPath;

    String tlsCertPath;

    String channel;
}
